package com.pucong.gitee.database.backup.common.entity.database.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;
import java.util.Map;


@Data
@ApiModel("数据库 获取dml sql参数")
public class DatabaseTableDataDmlDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiParam("数据")
    @NotNull
    private List<Map<String, Object>> dataList;

    @ApiParam("表名")
    @NotBlank
    private String tableName;
}
